-- GENERATED SPELL FOR [Storm Fury] --


function spell0_22848(pUnit, Event) --@Storm Blink,Self--
pUnit:FullCastSpellOnTarget(39581,pUnit)
pUnit:RegisterEvent('Sorts_22848', 11000, 1)
end

function Sorts_22848(pUnit, Event)
local choix_sorts_22848 = math.random(0, 0)
if choix_sorts_22848 == 0 then
pUnit:RegisterEvent('spell0_22848', 1, 1)
end
end

function mob22848_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22848', math.random(1500, 3000), 1)
end

function mob22848_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22848_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22848_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22848, 1, 'mob22848_Action')
RegisterUnitEvent(22848, 2, 'mob22848_Leave')
RegisterUnitEvent(22848, 3, 'mob22848_Kill')
RegisterUnitEvent(22848, 4, 'mob22848_Die')
